package vip.yyzhu.redisadmin.jopo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL) // 属性为null则不参与序列化
public class ResData {
    public ResData() {
    }

    public ResData(String err) {
        this.err = err;
    }

    public ResData(Map map) {
        this.map = map;
    }
    public ResData(List list) {
        this.list = list;
    }

    private Object map;
    private Object list;
    private Object err;
    private Object redis;
}
